/**
 * Created by dong on 16/1/21.
 */
'use strict';
let path2Transfer = [
    //服务端资源
    '*', //根目录的几个文件.
    'bin/*',
    'config/**/*',
    'middleware/**/*',
    'routes/*',
    'service/**/*',
    //'service-c/**/*',
    'views/*',
    'util/*',
    'auto/*',
    'logs/README.md',
    'middleware/*',
    //客户端资源
    //'public/assets/**/*',
    //'public/css/**/*',
    'public/dist/README.md',
    'public/icon/README.md',
    'public/heapdump',
    'public/settings/**/*',
    'public/web_modules/util/**/*',
    //'public/web_modules/x-site-ui/**/*',
    'public/package.json',
];





module.exports = {
    common:{
        userName:'root',
        testPassword:'ofcard',
        prodPassword:'Ofcard123lzd',
    },
    envHosts: {
        prod: {
            xSiteWeb1:{
                host:'172.17.8.159'
            },
            xSiteWeb2:{
                host:'172.17.9.75'
            },
            consumer1:{
                host:'172.17.9.65'
            },consumer2:{
                host:'172.17.9.145'
            },consumer3:{
                host:'172.17.9.37'
            },
        },
        test0: {
            xSite:{
                host:'172.19.67.107'
            },
        },
        test1: {
            xSite:{
                host:'172.19.65.20'
            },
        },test2: {
            xSite:{
                host:'172.21.3.141'
            },
        },test4: {
            xSite:{
                host:'172.19.68.82'
            },
        },test5: {
            xSite:{
                host:'172.21.33.193'
            }
        }
    },
    paths:{
        projectRoot:"/home/x-site-admin",
        projectConfigDir:"/home/x-site-config",
    },
    resources:{
        path4webProd: path2Transfer,
        path4webTools: path2Transfer.concat([
            'gulp-task/*',
            'public/build/**/*',
            'public/javascripts/dll/*',
            'public/buildTemplate/**/*',
            'public/template-index/**/*',]).concat([
            'routes/mm/*'
        ]),
        path4state: [
            'middleware/state-list.js'
        ]
    }

};